package com.komeri.komeriapl;

import com.google.zxing.ResultPoint;
import com.google.zxing.ResultPointCallback;

/**
 * implements ResultPointCallback
 * @author Liu Mingjia
 * */
public final class ViewfinderResultPointCallback implements ResultPointCallback {

  private final ViewfinderView viewfinderView;

  public ViewfinderResultPointCallback(ViewfinderView viewfinderView) {
    this.viewfinderView = viewfinderView;
  }

  /**
   * @param point
   * */
  public void foundPossibleResultPoint(ResultPoint point) {
    viewfinderView.addPossibleResultPoint(point);
  }
}
